package com.hmall.api.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Collection;


/**
 * @author: zhengsuyang
 * @Desc:
 * @create: 2025-11-01 16:19
 **/
@FeignClient(value = "cart-service",path = "/carts")
public interface CartClient {
    /**
     * 批量删除购物车中商品
     * @param ids
     */
    @DeleteMapping
    public void removeByItemIds(@RequestParam("ids") Collection<Long> ids);
}
